﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Linq;
using System.Text;

namespace Zip
{
    public partial class Compress
    {
        public Compress()
        {
        }

        public bool CompressToDirectory(string ReadFileName, string WriteFileName)
        {

            ProgramState.LoadState();


            DeflateZLib Deflate = new DeflateZLib();
            bool bRet = Deflate.Compress(ReadFileName,WriteFileName);



            return(bRet);
        }

    }
}
